import request from '../utils/request.js'

//商品查询
export const api_query=(data)=>{
    return request.get("/goods/catelist",data)
}

//保存商品
export const api_save=(data)=>{
    return request.post("/goods/addcate",data)
}

//删除商品
export const api_del=(data)=>{
    return request.get("/goods/delcate",data)
}

//修改商品分类
export const api_upd=(data)=>{
    return request.post("/goods/editcate",data)
}